# -*- mode: snippet -*-
# name: dev svg from grDevices
# key: svg
# key: device#svg@grDevices
# contributor : Shuguang Sun
# expand-env: ((yas-wrap-around-region t))
# --
svg(file = "${1:filename}.svg"${2:, width = ${3:16}, height = ${4:9}}${5:, bg = \"${6:$$(yas-choose-value '("transparent" "white"))}\"}${7:, family = "GB1"})

$0

invisible(dev.off())